local YellowLogic = require("yellow.YellowLogic")
local TGPLogic = require("yellow.TGPLogic")
local BlueLogic = require("yellow.BlueLogic")
local Level3366Logic = require("yellow.Level3366Logic")

--黄钻
function CG_YELLOW_GET_REWARD(human, msg)
  YellowLogic.getReward(human, msg.type, msg.index)
end

function CG_YELLOW_REWARD_LIST(human, msg)
  YellowLogic.sendRewardList(human, msg.type)
end
--tgp
function CG_TGP_GET_REWARD(human, msg)
	TGPLogic.getReward(human, msg.type, msg.index)
end

function CG_TGP_REWARD_LIST(human, msg)
	TGPLogic.sendRewardList(human, msg.type)
end

--蓝钻
function CG_BLUE_REWARD_LIST(human, msg)
  BlueLogic.sendRewardList(human, msg.type)
end

function CG_BLUE_GET_REWARD(human, msg)
  BlueLogic.getReward(human, msg.type, msg.index)
end

--3366
function CG_LEVEL_3366_REWARD_QUERY(human, msg)
  Level3366Logic.sendLevel3366Config(human)
end

function CG_LEVEL_3366_REWARD_GET(human, msg)
  Level3366Logic.getReward(human, msg.id)
end